package m1.server.connecteur.securityquery;



import m1.server.connecteur.clearancerequest.GlueClearanceRequest;
import m2.connecteur.ConnecteurSimple;
 public class SecurityQuery extends ConnecteurSimple{

	public SecurityQuery() {
		super("SecurityQuery");
		GlueClearanceRequest glu=new GlueClearanceRequest();
		this.setGlue(glu);
		
		DataBaseRF dataBaseRF = new DataBaseRF();
		addRoleFournis(dataBaseRF);
		
		SecurityManagerRR securityManagerRR = new SecurityManagerRR();
		addRoleRequis(securityManagerRR);
		
		glu.associate(securityManagerRR, dataBaseRF);
		
		
		DataBaseRR dataBaseRR = new DataBaseRR();
		addRoleRequis(dataBaseRR);
		
		SecurityManagerRF securityManagerRF = new SecurityManagerRF();
		addRoleFournis(securityManagerRF);
		
		glu.associate(dataBaseRR, securityManagerRF);
		
		
		
	}
 }